package com.shopping.pojo;

import javax.validation.constraints.Size;

public class CorporationRole {

    int id;
    @Size(max = 18, min = 15)
    String idNumber;
    @Size(max = 60, min = 4)
    String corporationName;
    @Size(max = 100, min = 10)
    String corporationAddress;
    @Size(max = 400, min = 20)
    String corporationIntroduce;

    public void setId(int id) {
        this.id = id;
    }

    public int getId() {
        return id;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getCorporationName() {
        return corporationName;
    }

    public void setCorporationName(String corporationName) {
        this.corporationName = corporationName;
    }

    public String getCorporationAddress() {
        return corporationAddress;
    }

    public void setCorporationAddress(String corporationAddress) {
        this.corporationAddress = corporationAddress;
    }

    public String getCorporationIntroduce() {
        return corporationIntroduce;
    }

    public void setCorporationIntroduce(String corporationIntroduce) {
        this.corporationIntroduce = corporationIntroduce;
    }

    @Override
    public String toString() {
        return "CorporationRole{" +
                "id=" + id +
                ", idNumber='" + idNumber + '\'' +
                ", corporationName='" + corporationName + '\'' +
                ", corporationAddress='" + corporationAddress + '\'' +
                ", corporationIntroduce='" + corporationIntroduce + '\'' +
                '}';
    }
}
